HCaptcha\Main B

Total Complexity 81
Dependencies 138
Dependents 6
Total lines 1,552
Lines of code 1,071
Logical lines of code 185
Comment lines 267
Methods 26
Properties 9

Methods 26

Method Rating Maintainability Complexity Lines of code
load_modules()
D
12
9 631
print_inline_styles()
A
40 3 98
print_footer_scripts()
S
47 6 36
plugin_or_theme_active()
S
56 7 20
get_api_src()
S
50 6 28
csp_headers()
S
50 6 27
activate_hcaptcha()
S
62 6 10
is_edit_page()
S
51 4 28
init_hooks()
S
45 3 43
allowlist_ip()
S
52 2 31
login_head()
S
57 2 25
is_network_wide()
S
68 3 7
prefetch_hcaptcha_dns()
S
67 3 7
parse_csp()
S
62 2 11
is_plugin_active()
S
72 2 6
declare_wc_compatibility()
S
73 2 5
init()
S
66 2 8
get_check_site_config_url()
S
69 2 6
get_verify_url()
S
69 2 6
merge_csp()
S
63 2 10
get_api_url()
S
69 2 6
force_https()
S
71 1 5
settings()
S
82 1 3
load()
S
80 1 3
get()
S
79 1 3
load_textdomain()
S
68 1 8